//
//  MainNavigationViewController.m
//  Fangmm
//
//  Created by 阮琦 on 16/2/29.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import "MainNavigationViewController.h"
#import "ACMacros.h"
@interface MainNavigationViewController ()

@end

@implementation MainNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSMutableDictionary *titleBarAttributes = [NSMutableDictionary dictionaryWithDictionary: [[UINavigationBar appearance] titleTextAttributes]];
    [titleBarAttributes setValue:[UIFont systemFontOfSize:17.0] forKey:NSFontAttributeName];
    [self.navigationBar setTitleTextAttributes:titleBarAttributes];
    
    NSMutableDictionary *rightBarItemAttributes = [NSMutableDictionary dictionaryWithDictionary: [[UINavigationBar appearance] titleTextAttributes]];
    [rightBarItemAttributes setValue:[UIFont systemFontOfSize:15.0] forKey:NSFontAttributeName];    
    [[UIBarButtonItem appearance] setTitleTextAttributes:rightBarItemAttributes forState:UIControlStateNormal];
    [self.navigationBar setTranslucent:false];
    [self.navigationBar setBarTintColor:[UIColor whiteColor]];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
